<?php namespace system\database\migrations;
use houdunwang\database\build\Migration;
use houdunwang\database\build\Blueprint;
use houdunwang\database\Schema;
class ChangeWechatSystemResponseTable extends Migration {
    //执行
	public function up() {
		Schema::table( 'config', function ( Blueprint $table ) {
			//$table->string('name', 50)->add();
			$table->string('wechat_system_response')->defaults('')->comment('微信系统回复')->add();
        });
    }
    //回滚
    public function down() {
            //Schema::dropField('config', 'name');
		Schema::dropField('config', 'wecaht_system_response');
    }
}